package net.dubboclub.maven;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.ResolutionScope;

/**
 * @date: 2016/3/15.
 * @author:bieber.
 * @project:dubbom-maven-plugin.
 * @package:net.dubboclub.maven.
 * @version:1.0.0
 * @fix:
 * @description: 对dubbom项目进行打包
 */
@Mojo( name = "pack", defaultPhase = LifecyclePhase.PACKAGE, threadSafe = true, requiresDependencyResolution = ResolutionScope.RUNTIME )
public class PackDubbomMojo extends AbstractDubbomMojo{

    public void execute() throws MojoExecutionException, MojoFailureException {
        pack();
    }

}
